<?php
/* @var $this SiteController */
$this->pageTitle = Yii::app()->name;
//Total de contactos
//$contactosCount = Contacto::model()->getCountContactos();
Util::tsRegisterAssetJs('listo.js');
?>
<div class="row-fluid">
    <!--BEGIN METRO STATES-->
    <div class="metro-nav">
        <div class="metro-nav-block nav-block-orange">
            <a data-original-title="" href="#">
                <i class="icon-user"></i>
                <div class="info">321</div>
                <div class="status">Clientes Registrados</div>
            </a>
        </div>
        <div class="metro-nav-block nav-block-yellow">
            <a data-original-title="" href="#">
                <i class="icon-tags"></i>
                <div class="info">970</div>
                <div class="status">Ventas</div>
            </a>
        </div>
        <div class="metro-nav-block nav-olive">
            <a data-original-title="" href="#">
                <i class="icon-comments-alt"></i>
                <div class="info">49</div>
                <div class="status">Sugerencias</div>
            </a>
        </div>
        <div class="metro-nav-block nav-deep-terques double">
            <a data-original-title="" href="#">
                <i class="icon-eye-open"></i>
                <div class="info">897</div>
                <div class="status">Cuartos Disponibles</div>
            </a>
        </div>
        <div class="metro-nav-block nav-block-red">
            <a data-original-title="" href="#">
                <i class="icon-bar-chart"></i>
                <div class="info">+288</div>
                <div class="status">Update</div>
            </a>
        </div>
    </div>
    <div class="metro-nav">
        <div class="metro-nav-block nav-light-purple">
            <a data-original-title="" href="#">
                <i class="icon-shopping-cart"></i>
                <div class="info">29</div>
                <div class="status">Pedidos a cuartos</div>
            </a>
        </div>
        <div class="metro-nav-block nav-light-blue double">
            <a data-original-title="" href="#">
                <i class="icon-tasks"></i>
                <div class="info">37624</div>
                <div class="status">Total de tareas</div>
            </a>
        </div>
        <div class="metro-nav-block nav-light-green">
            <a data-original-title="" href="#">
                <i class="icon-eye-open"></i>
                <div class="info">123</div>
                <div class="status">Tareas realizadas</div>
            </a>
        </div>
        <div class="metro-nav-block nav-light-brown">
            <a data-original-title="" href="#">
                <i class="icon-eye-close"></i>
                <div class="info">37501</div>
                <div class="status">Tareas no realizadas</div>
            </a>
        </div>
        <div class="metro-nav-block nav-block-grey ">
            <a data-original-title="" href="#">
                <i class="icon-external-link"></i>
                <div class="info">$53412</div>
                <div class="status">Reporte Diario</div>
            </a>
        </div>
    </div>
    <!--END METRO STATES-->
</div>


<?php
//Yii::app()->clientScript->registerCoreScript('jquery.ui');
//Util::tsRegisterAssetJs('index.js');
//Yii::app()->clientScript->registerScriptFile('https://maps.googleapis.com/maps/api/js?sensor=true&language=es');
?>


<div class="row-fluid">
    <div class="span7">
        <div class="widget ">
            <div class="widget-title">
                <h4><i class="icon-calendar"></i> Agenda</h4>
                <span class="tools">
                    <a href="javascript:;" class="icon-chevron-down"></a>
                </span>
            </div>
            <div class="widget-body">
                <?php $this->renderPartial('portlets/_calendario') ?> 
            </div>

        </div>
    </div>
    <div class="span5">
        <?php $this->renderPartial('portlets/_tareasProgreso') ?> 

    </div>
</div>

<div class="row-fluid">
    <div class="span6">
        <?php $this->renderPartial('reportes/_tareas') ?> 
    </div>
    <div class="span6">
        <?php $this->renderPartial('reportes/_usuarios_registrado') ?> 
    </div>

</div>